
<div id="vmaig-links">
    <div class="panel panel-vmaig">
        <div class="panel-heading">
            <h3 class="panel-title">
                <span class="glyphicon glyphicon-link"></span>
                    归档
                <span class="glyphicon glyphicon-remove btn panel-close pull-right"></span>
                <span class="glyphicon glyphicon-chevron-up btn panel-collapse pull-right"  data-toggle="collapse" data-target="#links"></span>
            </h3>
        </div>
        <div id="links" class="padding10 list-group collapse in">
            <ul>
                {% for archive in archives %}
                    <li>
                        {{ archive.year }}年{{ archive.month}}月
                    </li>
                {% endfor %}

                {% for categorie in categories %}
                        <li>
                            <a href="{% url 'category-detail-view' categorie.name %}">{{ categorie }}（{{ categorie.num_posts }}）</a>
                        </li>
                {% endfor %}
            </ul>

        </div>
    </div>
</div>
